class ApplicationController < ActionController::Base
  # Only allow modern browsers supporting webp images, web push, badges, import maps, CSS nesting, and CSS :has.
  allow_browser versions: :modern
  # before_action :delete_session_and_cookie

  private
  def delete_session_and_cookie
    session.delete(:user_id)
    cookies.delete(:session_id)
  end
end
